package com.huli.feign;

import com.huli.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("server-member")
public interface MemberClient {

     //通过用户会员id查询其会员信息
    @GetMapping("/userVip/selectUserVipById")
    Result selectUserVipById(@RequestParam int userVipId);


    //查询用户会员表信息
    @GetMapping("/userVip/selectAllUserVip")
    public Result selectAllUserVip();


    //查询位主会员表信息
    @GetMapping("/ownerVip/selectAllOwnerVip")
    public Result selectAllOwnerVip();

}
